'Declaration
<NotNullAttribute()> Public Overloads Shared Function Success(Of T)( _ ByVal value As T _ ) As ValueResult(Of T)
'Usage
Dim value As T Dim value As ValueResult(Of T) value = ValueResult.Success(Of T)(value)
[NotNull()] public static ValueResult<T> Success<T>( T value )
[NotNull()] public: static ValueResult<T^>^ Successgeneric<typename T> ( T^ value )
Parameters
- value
- A value that is a successful result of the operation.
The value of this parameter can be
null
(Nothing
in Visual Basic).
Type Parameters
- T
Return Value
The successful value result.
This method never returns null
(Nothing
in Visual Basic).